package com.delos.rbac.runner;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * 系统初始化
 *
 * @author zouyaowen
 * @date 2020-06-22
 */
@Component
@Slf4j
public class SystemInitRunner implements CommandLineRunner {


    @Override
    @Async
    public void run(String... args) throws Exception {
        log.info("------------系统初始化执行-------------");
        //TODO 数据仅缓存
    }
}
